package young.service;

import young.pojo.UserDO;

public interface UserService {
    UserDO getByUsernameAndPwd(String username, String pwd);

    void saveMoney(String id,int money);

    void getMoney(String id,int money) throws Exception;

    void transferMoney(String loginId,String otherId, int money) throws Exception;

    void revise(String id,String pwd,String newPwd,String newPwdTow) throws Exception;

}
